CaptureDevice(string, int, PCM, int, ArrayPool<byte>)

Constructor

Namespace: Vox

Declared in: Vox.CaptureDevice


Creates and opens a sound input device with the specified parameters.

Syntax

public CaptureDevice(
	string name,
	int frequency,
	PCM format,
	int bufSize,
	ArrayPool<byte> bufferPool
)

Parameters

name

Name of the device to open

frequency

Sample frequency

format

Sound format

bufSize

Buffer size

bufferPool

Array pool for buffers.false. If null, defaults to shared.

See also

  • GetCaptureDevices()
  • GetDefaultCaptureDevice()

  • Back to index